setScopeEnabled

abstract fun setScopeEnabled(block: DesignBlock, key: String, enabled: Boolean)

Enable or disable a scope for a given block.

Parameters

block

the block whose scope should be enabled or disabled.

key

the scope to enable or disable.

enabled

whether the scope should be enabled or disabled.